package chenji.gunapi.pluginmessage;

import org.bukkit.entity.Player;

import chenji.gunapi.pluginmessage.GunAPIPackage.Side;


public abstract class InGunAPIPackage {
	private byte[] b;
	private Player p;

	public InGunAPIPackage(byte[] b, Player p) {
		this.b = b;
		this.p = p;
	}

	public abstract int getType();

	public abstract String getStringType();

	public final Side getSide() {
		return Side.IN;
	}

	public final byte[] getByte() {
		return this.b;
	}

	public final Player getPlayer() {
		return this.p;
	}

}
